package com.hjm.mall.service;

import com.hjm.mall.api.param.AddressParam;
import com.hjm.mall.entity.Address;

import java.util.List;

public interface AddressService {
    boolean inset(Long userId, AddressParam addressParam);
    boolean delete(int id);
    boolean update(Long userId,int id, AddressParam addressParam);
    List<Address> getAddressListByUserId(Long userId);
    Address getAddressListByUserIdDefault(Long userId);
}
